/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.google.code.netbuilder.dal.xmlaccess;

import com.google.code.netbuilder.dal.entities.EquipmentVersion;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Андрей
 */
@XmlType(name = "equipmentVersions")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "equipmentVersions")
class EquipmentVersionAccessList implements IAccessList
{
    private ArrayList<EquipmentVersion> equipmentVersion;
    
    private EquipmentVersionAccessList()
    {}
    
    public EquipmentVersionAccessList(ArrayList<EquipmentVersion> versions)
    {
        equipmentVersion = versions;
    }
    
    @Override
    public ArrayList<EquipmentVersion> getList()
    {
        return equipmentVersion;
    }
}
